home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
STFax
/
STFax
/
Rexx
/
WW2STFax.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1997-12-20
|
644b
|
38 lines
/*
*
* $VER: WW2STFax.rexx 1.1 (29.10.97) by Simone Tellini
*
*/
Options Results
/* Switch Off TurboPrint before Fax */
/* Uncomment this line if you use TP */
/*'REQUESTRESPONSE PROMPT Remove TurboPrint first? (Removing twice might crash system)'
IF RC <= 0 THEN
Address command 'turboprint:noturbo'*/
IF ~SHOW(P,'STFAX.1') THEN DO
'REQUESTRESPONSE PROMPT STFax is not active. Shall I load it?'
IF RC > 0 THEN
Exit
Address Command 'Run <>NIL: STFax:STFax'
Address Command 'WaitForPort STFAX.1'
END
Address 'STFAX.1' 'PRTDRIVER ON'
'PRINTSETUP'
'PRINT'
Address 'STFAX.1' 'PRTDRIVER OFF'
Exit 0